package com.stylefeng.guns.modular.pay.payment.jft.request;

import com.stylefeng.guns.modular.pay.payment.jft.api.ApiJftQuickPayRequst;

public class QuickPay {
	private String verCode;		//接口版本号
	private String chMerCode;	//通道商户编号
	private String orderCode;	//交易订单号
	private String orderTime;	//订单时间
	private String orderAmount;	//订单金额
	private String settleType;	//结算方式	
	private String busCode;		//业务编码
	private String realName;	//真实姓名
	private String idCard;		//身份证号
	private String accNo;		//支付卡号
	private String mobile;		//手机号
	private String frontUrl;	//前台通知地址
	private String callBackUrl;	//后台回调地址
	
	public QuickPay() {
		// TODO Auto-generated constructor stub
	}
	
	
	public QuickPay(ApiJftQuickPayRequst req, String tradeNo, String jft_notify_url, String jft_return_url) throws Exception {
		this.verCode = "1001";
		this.chMerCode = "";
		this.orderCode = tradeNo;
		this.orderTime = req.getReqTime();
		this.orderAmount = req.getOrderAmount();
		this.settleType = "0";
		this.busCode = "2001";	//同名快捷支付
		this.realName = req.getRealName();
		this.idCard = req.getIdCard();
		this.accNo = req.getAccNo();
		this.mobile = req.getMobile();
		this.frontUrl = jft_return_url;
		this.callBackUrl = jft_notify_url;
	}
	
	
	public String getVerCode() {
		return verCode;
	}
	public void setVerCode(String verCode) {
		this.verCode = verCode;
	}
	public String getChMerCode() {
		return chMerCode;
	}
	public void setChMerCode(String chMerCode) {
		this.chMerCode = chMerCode;
	}
	public String getOrderCode() {
		return orderCode;
	}
	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}
	public String getOrderTime() {
		return orderTime;
	}
	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}
	public String getOrderAmount() {
		return orderAmount;
	}
	public void setOrderAmount(String orderAmount) {
		this.orderAmount = orderAmount;
	}
	public String getSettleType() {
		return settleType;
	}
	public void setSettleType(String settleType) {
		this.settleType = settleType;
	}
	public String getBusCode() {
		return busCode;
	}
	public void setBusCode(String busCode) {
		this.busCode = busCode;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	public String getAccNo() {
		return accNo;
	}
	public void setAccNo(String accNo) {
		this.accNo = accNo;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getFrontUrl() {
		return frontUrl;
	}
	public void setFrontUrl(String frontUrl) {
		this.frontUrl = frontUrl;
	}
	public String getCallBackUrl() {
		return callBackUrl;
	}
	public void setCallBackUrl(String callBackUrl) {
		this.callBackUrl = callBackUrl;
	}

}
